package synex;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Programa {
	public static void main(String[] args) {		
		ExecutorService executor = Executors.newFixedThreadPool(2);		
		executor.execute(new Produtor());
		executor.execute(new Consumidor());	
		executor.shutdown();		
	}
}
